package com.bookmarket.service;

import com.bookmarket.entity.Admin;

import java.util.Set;

public interface HJHLoginService {

    Admin findUserByUserName(String name);

    Set<String> findRoles(String name);

    Set<String> findPermissions(String name);

    //查询权限_查询外键
    int findRole_id(String name);

    //查询权限_根据外键查权限
    String findRole(int id);


}